package com.baomidou.springboot.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.baomidou.springboot.entity.SysMenu;
import com.baomidou.springboot.mapper.SysMenuMapper;
import com.baomidou.springboot.service.ISysMenuService;

@Service
public class SysMenuServiceImpl extends ServiceImpl<SysMenuMapper, SysMenu>
		implements ISysMenuService {
	@Autowired
	SysMenuMapper sysMenuMapper;
	
	public List<SysMenu> selectMenusByUserId(String id){
		return sysMenuMapper.selectMenusByUserId(id);
	}
}
